package com.ruoyi.management.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;

import com.entity.concat.ITimeEntity;
import com.ruoyi.common.core.domain.Entity;

/**
 * 佣金明细对象 mg_commission_management_detail
 * 
 * @author ruoyi
 * @date 2024-01-17
 */
public class CommissionManagementDetail extends Entity implements ITimeEntity<Long>
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Integer id;

    /** 佣金id */
    @Excel(name = "佣金id")
    private Integer commissionId;

    /** 用户id */
    @Excel(name = "用户id")
    private Integer userId;

    /** 明细 */
    @Excel(name = "明细")
    private String description;

    /** 变动金额 */
    @Excel(name = "变动金额")
    private BigDecimal monry;

    /** 类型 0 支出 1 收入 */
    @Excel(name = "类型 0 支出 1 收入")
    private Integer type;

    
    private Integer recommendationId;
    
    
    public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getCommissionId() {
		return commissionId;
	}

	public void setCommissionId(Integer commissionId) {
		this.commissionId = commissionId;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setMonry(BigDecimal monry) 
    {
        this.monry = monry;
    }

    public BigDecimal getMonry() 
    {
        return monry;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("commissionId", getCommissionId())
            .append("userId", getUserId())
            .append("description", getDescription())
            .append("monry", getMonry())
            .append("type", getType())
            .append("updateTime", getUpdateTime())
            .append("createTime", getCreateTime())
            .toString();
    }

	public Integer getRecommendationId() {
		return recommendationId;
	}

	public void setRecommendationId(Integer recommendationId) {
		this.recommendationId = recommendationId;
	}
}
